using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;

namespace etbTOEIC
{
	/// <summary>
	/// Summary description for UCSectionInfo.
	/// </summary>
	public class UCSectionInfo : System.Windows.Forms.UserControl
	{
		private System.Windows.Forms.TextBox txtTitle;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox txtDirection;
		private System.Windows.Forms.TextBox txtTheEnd;
		private System.Windows.Forms.Label label3;
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public UCSectionInfo()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitializeComponent call

		}
		// properties
		public string Title{
			get{
				return txtTitle.Text.Trim();
			}
			set{
				txtTitle.Text = value;
			}
		}
		public string Direction{
			get{
				return txtDirection.Text.Trim();
			}
			set{
				txtDirection.Text = value;
			}
		}
		public string TheEnd{
			get{
				return txtTheEnd.Text.Trim();
			}
			set{
				txtTheEnd.Text = value;
			}
		}
		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Component Designer generated code
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(UCSectionInfo));
			this.txtTitle = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.txtDirection = new System.Windows.Forms.TextBox();
			this.txtTheEnd = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.SuspendLayout();
			// 
			// txtTitle
			// 
			this.txtTitle.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtTitle.Location = new System.Drawing.Point(64, 8);
			this.txtTitle.Name = "txtTitle";
			this.txtTitle.Size = new System.Drawing.Size(240, 23);
			this.txtTitle.TabIndex = 5;
			this.txtTitle.Text = "";
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label1.Image = ((System.Drawing.Image)(resources.GetObject("label1.Image")));
			this.label1.Location = new System.Drawing.Point(0, 8);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 23);
			this.label1.TabIndex = 4;
			this.label1.Text = "Title";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
			this.label2.Location = new System.Drawing.Point(0, 48);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(64, 23);
			this.label2.TabIndex = 2;
			this.label2.Text = "Direction";
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// txtDirection
			// 
			this.txtDirection.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtDirection.Location = new System.Drawing.Point(64, 48);
			this.txtDirection.Multiline = true;
			this.txtDirection.Name = "txtDirection";
			this.txtDirection.Size = new System.Drawing.Size(240, 80);
			this.txtDirection.TabIndex = 7;
			this.txtDirection.Text = "";
			// 
			// txtTheEnd
			// 
			this.txtTheEnd.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtTheEnd.Location = new System.Drawing.Point(64, 144);
			this.txtTheEnd.Multiline = true;
			this.txtTheEnd.Name = "txtTheEnd";
			this.txtTheEnd.Size = new System.Drawing.Size(240, 48);
			this.txtTheEnd.TabIndex = 6;
			this.txtTheEnd.Text = "";
			// 
			// label3
			// 
			this.label3.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label3.Image = ((System.Drawing.Image)(resources.GetObject("label3.Image")));
			this.label3.Location = new System.Drawing.Point(0, 144);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(64, 23);
			this.label3.TabIndex = 3;
			this.label3.Text = "The End";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// UCSectionInfo
			// 
			this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
			this.Controls.Add(this.txtTitle);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.txtDirection);
			this.Controls.Add(this.txtTheEnd);
			this.Controls.Add(this.label3);
			this.Name = "UCSectionInfo";
			this.Size = new System.Drawing.Size(312, 200);
			this.ResumeLayout(false);

		}
		#endregion
	}
}
